﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LineRanking.ascx.cs" Inherits="JCWeb.Web.UserControl.LineRanking" %>
<ul class="<%=this.CssClass %>">
    <!--这里循环li-->
    <li>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <asp:ListView ID="RankList" runat="server">
                <LayoutTemplate>
                    <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
                </LayoutTemplate>
                <ItemTemplate>
                    <tr>
                        <td width="20" <%# ((Container.DataItemIndex + 1) == this.TotalCount) ? "style=\"background: none;\"" : ""%> >
                            <%#Container.DataItemIndex + 1 %>.<%# this.TotalCount.ToString()%>
                        </td>
                        <td  <%# ((Container.DataItemIndex + 1) == this.TotalCount) ? "style=\"background: none;\"" : ""%> >
                            <a href="#" >
                                <%#Eval("Title") %></a>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:ListView>
        </table>
    </li>
</ul>
